
package io.zso.service;

import io.zso.config.DataSourceInfo;
import io.zso.entity.MenuEntity;
import io.zso.entity.TableFieldEntity;
import io.zso.entity.TableInfoEntity;

import java.util.List;

/**
 * 代码生成
 *
 * @author hp@zso.io
 */
public interface GeneratorService {

    DataSourceInfo getDataSourceInfo(Long datasourceId);

    void datasourceTable(TableInfoEntity tableInfo);

    void updateTableField(Long tableId, List<TableFieldEntity> tableFieldList);

    void generatorCode(TableInfoEntity tableInfo);

    void generatorMenu(MenuEntity menu);
}
